﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using DevExpress.XtraEditors;

namespace MainApp
{
    public partial class frmMailInfo : DevExpress.XtraEditors.XtraForm
    {
        public frmMailInfo()
        {
            InitializeComponent();
        }

        private void txtSubject_TextChanged(object sender, EventArgs e)
        {
            btnOK.Enabled = txtSubject.Text.Trim().Length > 0;
        }
    }
}